#ifndef GUI_BUTTON
#define GUI_BUTTON

#include "frame.h"

namespace sleek
{
    namespace gui
    {
        class button : public frame
        {
            public:
                button(core::engine::interface*);
                ~button();
                virtual INTERFACE_GUI_CODE getType() { return IGT_BUTTON; }

                virtual bool isPushed();
                virtual bool isHovored();

                virtual bool manage(core::device::input*);
                virtual void render();
            protected:
                virtual void UpdateFontPos();
                bool hovored, pushed;
        };
    }
}

#endif

